<div ng-controller="ViewController">
  <form novalidate>
    Name: <input type="text" ng-model="user.name" />
    <button ng-click="greet(user)">GREET</button>
  </form>
</div>
